package com.hzqiuxm.tdddemo001;

import java.util.List;

/**
 * Copyright © 2020年 tdd-demo-001. All rights reserved.
 *
 * @author 临江仙 hzqiuxm@163.com
 * @date 2020/7/8 11:56
 */
public class PersonServcie {

    private List<Person> persons;

    public PersonServcie(List<Person> persons) {
        this.persons = persons;
    }

    public void addPerson(Person person){
        persons.add(person);
    }
}
